package com.ljh.mybatis.service.impl;

import com.ljh.mybatis.entity.Teacher;
import com.ljh.mybatis.mapper.TeacherMapper;
import com.ljh.mybatis.service.TeacherService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @auth 刘佳浩
 * @create 2020-11-18-22:20
 */
@Service
public class TeacherServiceImpl implements TeacherService {
    @Autowired
    private TeacherMapper teacherMapper;
    @Override
    public List<Teacher> getTeaStu(Integer id) {
        return teacherMapper.getTeaStu(id);
    }
}
